<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @stock.name %>
</p>

<p>
  <b>Purchase date:</b>
  <%= @stock.purchase_date %>
</p>

<p>
  <b>Purchase cost:</b>
  <%= @stock.purchase_cost %>
</p>

<p>
  <b>Sale cost:</b>
  <%= @stock.sale_cost %>
</p>

<p>
  <b>Company:</b>
  <%= @stock.company %>
</p>

<p>
  <b>Type:</b>
  <%= @stock.category %>
</p>

<p>
  <b>Quantity:</b>
  <%= @stock.quantity %>
</p>

<p>
  <b>Lot:</b>
  <%= @stock.lot %>
</p>

<p>
  <b>Sold:</b>
  <%= @stock.sold %>
</p>


<%= link_to 'Edit', edit_stock_path(@stock) %> |
<%= link_to 'Back', stocks_path %>
